package com.atguigu.gmall.common.config.thread.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@ConfigurationProperties(prefix = "app.threadpool")
/**
 * 线程池的配置文件
 */
public class AppThreadProperties {
    private Integer corePoolSize=8;
    private Integer maximumPoolSize=16;
    private Long keepAliveTime=5L;
    private Integer workQueueSize=1000;
}
